#!/bin/bash
# install script for usagetracker
# requires root permissions

# Create the log files for "last" if required
touch /var/log/wtmp
touch /var/log/btmp

chmod +x usagetracker
cp -vf usagetracker /etc/cron.hourly/
cp -vf usagetracker.conf /etc/
mkdir -vp /var/log/usagetracker
mkdir -vp /usr/share/doc/usagetracker
cp -vf README.txt /usr/share/doc/usagetracker
cp -vf desktopIcon.txt /home/guru/Desktop/Computer\ Usage

echo
echo "usagetracker: Installation completed"


